From: Guillaume Desmottes Date: Fri, 27 May 2011 09:08:32 +0000 (+0200) Subject: messageTray.js: fire a signal when the summary item is clicked X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8132 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9c849b0290ff8df97dd053f5914f601c2a61be86;p=gnome-shell.git messageTray.js: fire a signal when the summary item is clicked --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 1ae3fd7c4..6014b4bb1 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1615,6 +1615,8 @@ MessageTray.prototype = { this._clickedSummaryItemMouseButton != button) { this._clickedSummaryItem = summaryItem; this._clickedSummaryItemMouseButton = button; + + summaryItem.source.emit('summary-item-clicked', button); } else { this._unsetClickedSummaryItem(); }